/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mancala;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Properties;




/**
 *
 * @author jsiebena
 */
public class MySQLConnection {
    
    public Connection getConnection() throws SQLException{
        
        Connection conn = null;
       // Properties connectionProps = new Properties();
        //connectionProps.put("jsieben4", this.userName);
               
        conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/jsieben4","jsieben4","7z8vudfu");
        
        System.out.println("You have a connection");
        return conn;
    
    
    
}
    
    public static void main(String args[]) {
        
        MySQLConnection a = new MySQLConnection();
       // Connection();
        
       // MySQLConnection();
    }
    
    
    
    
   
}